Fix precision of gnuplot format to a "mere" thousandths of a mile to
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 25 Aug 2004 16:34:08 +0000 (16:34 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 25 Aug 2004 16:34:08 +0000 (16:34 +0000)
reduce rounding issues in testsuite.   With Ron...

gpsbabel/reference/dusky.gnuplot
gpsbabel/reference/gnuplot.style

index f02feb7b0feea4724a857e58584ad5a505b94a93..87fe2c4ba29835338fe602b73ef95a42a8061b3d 100644 (file)
@@ -1,65 +1,65 @@
 plot "-" with lines
-0.000000       623.352000
-2.971829       711.933600
-3.285049       715.214400
-3.616714       715.214400
-5.524296       705.372000
-9.412893       659.440800
-23.470340      606.948000
-25.016243      610.228800
-30.981982      623.352000
-32.467702      616.790400
-34.341455      629.913600
-39.151887      639.756000
-40.148722      643.036800
-43.855057      639.756000
-45.197995      639.756000
-50.241520      643.036800
-50.751146      613.509600
-52.418822      652.879200
-59.685934      662.721600
-61.251560      698.810400
-71.654560      738.180000
-72.528252      764.426400
-87.945745      721.776000
-88.792305      725.056800
-91.616705      764.426400
-99.657820      902.220000
-99.800297      905.500800
-99.971950      905.500800
-100.189154     902.220000
-100.572379     882.535200
-102.010350     882.535200
-102.804092     875.973600
-103.080392     872.692800
-107.397520     921.904800
-107.921923     915.343200
-111.807511     977.678400
-112.360714     974.397600
-113.798888     1003.924800
-115.624455     967.836000
-119.337749     1082.664000
-120.301609     1040.013600
-122.631756     1030.171200
-125.020430     1056.417600
-125.198791     1089.225600
-127.787125     1076.102400
-129.889131     997.363200
-130.326239     974.397600
-130.940014     971.116800
-131.414289     1020.328800
-142.699566     935.028000
-147.684227     905.500800
-154.362718     902.220000
-155.048874     889.096800
-155.659180     872.692800
-156.187932     846.446400
-156.833988     869.412000
-157.381754     875.973600
-159.890999     846.446400
-159.999868     856.288800
-163.196258     866.131200
-164.732014     869.412000
-164.932308     859.569600
-165.120360     849.727200
+0.0000 623.352000
+2.9718 711.933600
+3.2850 715.214400
+3.6167 715.214400
+5.5243 705.372000
+9.4129 659.440800
+23.4703        606.948000
+25.0162        610.228800
+30.9820        623.352000
+32.4677        616.790400
+34.3415        629.913600
+39.1519        639.756000
+40.1487        643.036800
+43.8551        639.756000
+45.1980        639.756000
+50.2415        643.036800
+50.7511        613.509600
+52.4188        652.879200
+59.6859        662.721600
+61.2516        698.810400
+71.6546        738.180000
+72.5283        764.426400
+87.9457        721.776000
+88.7923        725.056800
+91.6167        764.426400
+99.6578        902.220000
+99.8003        905.500800
+99.9720        905.500800
+100.1892       902.220000
+100.5724       882.535200
+102.0104       882.535200
+102.8041       875.973600
+103.0804       872.692800
+107.3975       921.904800
+107.9219       915.343200
+111.8075       977.678400
+112.3607       974.397600
+113.7989       1003.924800
+115.6245       967.836000
+119.3377       1082.664000
+120.3016       1040.013600
+122.6318       1030.171200
+125.0204       1056.417600
+125.1988       1089.225600
+127.7871       1076.102400
+129.8891       997.363200
+130.3262       974.397600
+130.9400       971.116800
+131.4143       1020.328800
+142.6996       935.028000
+147.6842       905.500800
+154.3627       902.220000
+155.0489       889.096800
+155.6592       872.692800
+156.1879       846.446400
+156.8340       869.412000
+157.3818       875.973600
+159.8910       846.446400
+159.9999       856.288800
+163.1963       866.131200
+164.7320       869.412000
+164.9323       859.569600
+165.1204       849.727200
 e
index 980b91fb09513c472777e6e3dcf9da509c40add5..5c5b09e3b7772e47b650e3cc5f04912ba070d0dd 100644 (file)
@@ -19,7 +19,7 @@ BADCHARS              TAB
 #
 PROLOGUE plot "-" with lines
 
-IFIELD  PATH_DISTANCE_MILES, "", "%lf"
+IFIELD  PATH_DISTANCE_MILES, "", "%.4lf"
 IFIELD  ALT_FEET, "", "%f"
 
 EPILOGUE e